Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove register-finality-provider cmd #189

Merged
merged 6 commits into from
Dec 5, 2024

Conversation

gitferry
Copy link
Member

@gitferry gitferry commented Dec 4, 2024

Closes #188. In particular, this PR:

  • removed register-finality-provider cmd
  • move functionalities of registration to create-finality-provider
  • removed status of CREATED
  • fixed tests
  • updated docs
  • some cleanups (e.g., moved event loops from app.go to event_loops.go)

As this PR caused major change in operations, please give it a careful look

Copy link
Member

@Lazar955 Lazar955 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great job! love the -1,246 lines removed

return nil, fmt.Errorf("failed to create proof-of-possession of the finality-provider: %w", err)
}

// TODO: query consumer chain to check if the fp is already registered
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point

Copy link
Contributor

@RafilxTenfen RafilxTenfen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, we should check this version of fpd in bbn-deployments

Copy link
Contributor

@samricotta samricotta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, from docs perspective looks good too

@gitferry
Copy link
Member Author

gitferry commented Dec 5, 2024

Local deployment works. Merging the pr now

@gitferry gitferry merged commit bdf768e into main Dec 5, 2024
12 checks passed
@gitferry gitferry deleted the gai/combine-register-finality-provider branch December 5, 2024 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove register-finality-provider and use create-finality-provider for registration
4 participants